﻿using System;
using PairingMatrix.Model;

namespace PairingMatrix.ViewModel
{
    public class MainPageViewModel : ViewModelBase, IMainPageViewModel
    {
        private readonly PairingMatrixModel _model;
        private ICardWallViewModel _cardWallViewModel;

        public MainPageViewModel(PairingMatrixModel model)
        {
            _model = model;
            _cardWallViewModel = new CardWallViewModel(_model.CardWallModel);
        }

        public ICardWallViewModel CardWallViewModel
        {
            get 
            {
                return _cardWallViewModel;
            }
        }

        public string TestString { get { return "ABCD"; } }
    }
}
